package 反射第一遍.demo11;

/**
 * @author wql
 * @version 1.0
 * @date 2022/10/27 9:54
 */

public class Test {
    public static void main(String[] args) throws Exception{

        Class<haha> hahaClass = haha.class;

        haha haha = hahaClass.newInstance();
        haha haha1 = hahaClass.newInstance();
        System.out.println(haha==haha1);
        //这里的两个对象是不相同的
    }
}
class haha{

}
